package ajaxjs.js;

import java.util.Map;

import sun.org.mozilla.javascript.internal.NativeArray;
import sun.org.mozilla.javascript.internal.NativeObject;

public interface Java_Js_Mapper {
	public Map<String, Object> NativeObject2Hash(String js_code);
	public Map<String, Object> NativeObject2Hash(Object obj);
	public Map<String, Object> NativeObject2Hash(NativeObject obj);
	
	public Map<String, Object>[] NativeArray2Map(String js_code);
	public Map<String, Object>[] NativeArray2Map(NativeArray nativeArr);
	public Map<String, Object>[] NativeArray2Map(Object obj);
	
	public String parseObj(Object obj);
}
